﻿<%@ Control Language="C#" AutoEventWireup="true" Codebehind="EventDetail.ascx.cs"
    Inherits="NCS.Module.CMS.Admin.WorkFlow.EventDetail" %>
<table class="Area" cellspacing="0" cellpadding="4" width="760" border="0" align="center">
    <tr>
        <td>
            <asp:Label ID="lblUpdateStatus" runat="server"></asp:Label></td>
    </tr>
    <tr>
        <td>Chuyên đề :<b style="text-transform:uppercase;"><asp:HyperLink ID="lnkEvent" runat="server"></asp:HyperLink></b></td>
    </tr>
    <tr><td style="height:10px"></td></tr>
    <tr>
        <td>
            <asp:DataGrid ID="dgEventDetail" AutoGenerateColumns="False" Width="100%" CssClass="Grid"
                runat="server" OnItemDataBound="dgEventDetail_ItemDataBound" OnItemCommand="dgEventDetail_ItemCommand">
                <AlternatingItemStyle CssClass="Grid_Raw2"></AlternatingItemStyle>
                <ItemStyle CssClass="LightRow"></ItemStyle>
                <HeaderStyle Font-Bold="True" CssClass="HeaderRow"></HeaderStyle>
                <Columns>
                    <asp:BoundColumn Visible="False" DataField="Distribution_ID" ReadOnly="True" HeaderText="Distribution_ID">
                    </asp:BoundColumn>
                    <asp:TemplateColumn>
                        <HeaderStyle Width="5%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center"></ItemStyle>
                        <ItemTemplate>
                            <asp:CheckBox ID="chkCheck" runat="server"></asp:CheckBox>
                        </ItemTemplate>
                    </asp:TemplateColumn>
                    <asp:TemplateColumn HeaderText="Tên bài viết">
                        <ItemTemplate>
                            <asp:HyperLink ID="hplheadline" runat="server"></asp:HyperLink>
                        </ItemTemplate>
                    </asp:TemplateColumn>
                    <asp:TemplateColumn HeaderText="Thứ tự">
                        <HeaderStyle Width="7%"></HeaderStyle>
                        <ItemTemplate>
                            <asp:DropDownList ID="dropPriority" runat="server" Width="50px">
                            </asp:DropDownList>
                        </ItemTemplate>
                    </asp:TemplateColumn>
                    <asp:TemplateColumn>
						<HeaderStyle Width="5%"></HeaderStyle>
						<ItemStyle HorizontalAlign="Center"></ItemStyle>
						<ItemTemplate>
						    <asp:Button id="Button3" runat="server" CssClass="Button" Width="38px" Text="Xóa" CommandName="Delete"></asp:Button>
						</ItemTemplate>
					</asp:TemplateColumn>	                   
                </Columns>
            </asp:DataGrid>
        </td>
    </tr>
    <tr>
        <td>
            <asp:Button ID="btnAddDistribution" CssClass="Button" runat="server" Width="160px" Text="Thêm vào chuyên đề" OnClick="btnAddDistribution_Click">
            </asp:Button>
            <asp:Button ID="btnUpdatePriority" CssClass="Button" runat="server" Width="160px" Text="Cập nhật thứ tự" OnClick="btnUpdatePriority_Click">
            </asp:Button>
            <asp:Button ID="btnRemoveCheck" CssClass="Button" runat="server" Width="160px" Text="Xóa các mục đánh dấu" OnClick="btnRemoveCheck_Click">
            </asp:Button></td>
    </tr>
</table>
